#ifndef UNIONROBCONTROLLERHMIINSTANCE_GLOBAL_H
#define UNIONROBCONTROLLERHMIINSTANCE_GLOBAL_H

#include <QWidget>
#include <QtCore/qglobal.h>

#if defined(UNIONROBCONTROLLERHMIINSTANCE_LIBRARY)
#  define UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT Q_DECL_EXPORT
#else
#  define UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT Q_DECL_IMPORT
#endif

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT short    PLU_RobControllerHMIInstanceCreate();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT short    PLU_RobControllerHMIInstanceDelete();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT QWidget* PLU_RobControllerHMIIInstanceUiRegesiter();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void TIMER_fasttimerloop();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void TIMER_slowtimerloop();


UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnModeSelectedclicked_(short Mode);

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT bool SLOTS_btnvPowerClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT bool SLOTS_btnESTOPClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnHomeClicked();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnSettingClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnEditClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT bool SLOTS_btnPauseClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT bool SLOTS_btnRunClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT bool SLOTS_btnStopClicked();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnfn1Clicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnfn2Clicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnfn3Clicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnfn4Clicked();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnMainScriptStatusClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnSubScriptStatusClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnVisHmiClicked();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnCoordinateClicked(short& Coordinate,int& ToolId, int& WorkID);

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnXPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnYPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnZPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnAPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnBPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnCPPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnXNPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnYNPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnZNPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnANPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnBNPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnCNPressed();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE1PPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE2PPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE1NPressed();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE2NPressed();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnXPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnYPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnZPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnAPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnBPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnCPReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnXNReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnYNReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnZNReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnANReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnBNReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnCNReleased();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE1PReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE2PReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE1NReleased();
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnE2NReleased();

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnMannualOverridePClicked(double& value);
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnProgramOverridePClicked(double& value);
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnMannualOverrideNClicked(double& value);
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void SLOTS_btnProgramOverrideNClicked(double& value);

UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void MES_fromBackendMessageCommand(QByteArray Data);
UNIONROBCONTROLLERHMIINSTANCESHARED_EXPORT void MES_toBackendMessage(QByteArray& Data);

#endif // UNIONROBCONTROLLERHMIINSTANCE_GLOBAL_H
